package com.isoft.data.dao;


import com.isoft.data.xml.DFME_DLYE;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DFME_DLYE_Dao {
    @Insert("INSERT INTO AIRPORT.META(SNDR,RCVR,SEQN,DDTM,TYPE,STYP)" +
            "VALUES(#{DFME_DLYE.META.SNDR},#{DFME_DLYE.META.RCVR},"+
            "#{DFME_DLYE.META.SEQN},#{DFME_DLYE.META.DDTM},"+
            "#{DFME_DLYE.META.TYPE},#{DFME_DLYE.META.STYP})")
    public int addMETA(@Param("DFME_DLYE") DFME_DLYE DFME_DLYE);
    @Insert("INSERT INTO AIRPORT.DLYE(SEQN,DDTM,FLID,FFID,FIDE,FATT" +
            ",ABST,IAST,ABRS,IARS,MABS,MABR,MIAS,MIAR,FETT)" +
            "VALUES(#{DFME_DLYE.META.SEQN},#{DFME_DLYE.META.DDTM}," +
            "#{DFME_DLYE.DLYE.FLID},#{DFME_DLYE.DLYE.FFID}, " +
            " #{DFME_DLYE.DLYE.FIDE},#{DFME_DLYE.DLYE.FATT}," +
            "#{DFME_DLYE.DLYE.ABST},#{DFME_DLYE.DLYE.IAST},"+
            "#{DFME_DLYE.DLYE.ABRS}, #{DFME_DLYE.DLYE.IARS}," +
            "#{DFME_DLYE.DLYE.MABS}, #{DFME_DLYE.DLYE.MABR}," +
            "#{DFME_DLYE.DLYE.MIAS}, #{DFME_DLYE.DLYE.MIAR},#{DFME_DLYE.DLYE.FETT})")
    public int addDLYE(@Param("DFME_DLYE") DFME_DLYE DFME_DLYE);
}
